package net.yambal.mobile.adv.managed_component.base
{
	import mx.events.FlexEvent;
	
	import net.yambal.mobile.adv.manager.ADV_AppMng;
	
	import spark.components.View;
	
	public class ADV_ViewBase extends View implements IiADV_View
	{
		public var app_mng:ADV_AppMng = null;
		
		public function ADV_ViewBase()
		{
			super();
			
			creationPolicy = "all";
			actionBarVisible = false;
			app_mng = ADV_AppMng.getInstance();
			
			addEventListener(FlexEvent.CREATION_COMPLETE, ADV_onCreationComplete, false, 0, true);
		}
		
		public function ADV_onCreationComplete(e:FlexEvent):void{
			trace(this + ":ADV_onCreationComplete");
		}
		
		public function get type():String{
			return null;
		}
		
		public function statStory():void{
			app_mng.story.startStory()
		}
		
		public function onClickMenuBtn():void{
		}
		
		public function onClickBackBtn():void{	
		}
		
		public function onClickSearchBtn():void{
			
		}
	}
}